﻿<Window x:Class="HeadLinx.AD.Explorer.CreateChartDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Generating HeadLinx Chart"
        Width="375"
        Height="200"
        Loaded="Window_Loaded"
        WindowStartupLocation="CenterScreen"
        ResizeMode="NoResize">

    <Grid Name="mainGrid"
          Background="SteelBlue">

        <Grid.RowDefinitions>
            <RowDefinition Name="rowStatus"
                           Height="*"></RowDefinition>
            <RowDefinition Name="rowProgressBar"
                           Height="Auto"></RowDefinition>
            <RowDefinition Name="rowButtons"
                           Height="Auto"></RowDefinition>
        </Grid.RowDefinitions>

        <TextBlock Name="tbStatus"
                   Grid.Row="0"
                   Margin="10,15,5,5"
                   Text="[Status]"
                   Foreground="Ivory"
                   FontFamily="Verdana"
                   FontSize="13"
                   Height="50"
                   HorizontalAlignment="Stretch"
                   TextWrapping="WrapWithOverflow" />

            <ProgressBar Name="progressBar"
                         Grid.Row="1"
                         Height="25"
                         Margin="10,20"
                         HorizontalAlignment="Stretch"
                         IsIndeterminate="True" />
            
            <Button Name="btnCancel"
                    Grid.Row="2"
                    Margin="10,5"
                    Padding="15,3"
                    HorizontalAlignment="Right"
                    Click="btnCancel_Click">Cancel</Button>
        </Grid>
</Window>
